## Bin main_udp
set(SRC_BIN_UDP             main_udp.cc)
add_executable              (MainUdp ${SRC_BIN_UDP})
target_include_directories  (MainUdp PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainUdp PROPERTIES OUTPUT_NAME "main_udp")
target_link_libraries       (MainUdp c epollevent)
add_dependencies            (MainUdp LibEpollEvent)

## Bin main_tcp_client
set(SRC_BIN_TCP_CLIENT      main_tcp_client.cc)
add_executable              (MainTcpClient ${SRC_BIN_TCP_CLIENT})
target_include_directories  (MainTcpClient PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainTcpClient PROPERTIES OUTPUT_NAME "main_tcp_client")
target_link_libraries       (MainTcpClient c epollevent)
add_dependencies            (MainTcpClient LibEpollEvent)

## Bin main_tcp_server
set(SRC_BIN_TCP_SRV         main_tcp_server.cc)
add_executable              (MainTcpSrv ${SRC_BIN_TCP_SRV})
target_include_directories  (MainTcpSrv PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainTcpSrv PROPERTIES OUTPUT_NAME "main_tcp_srv")
target_link_libraries       (MainTcpSrv c epollevent)
add_dependencies            (MainTcpSrv LibEpollEvent)

## Bin main_unix_dgram
set(SRC_BIN_UN_DGRAM        main_unix_dgram.cc)
add_executable              (MainUnDgram ${SRC_BIN_UN_DGRAM})
target_include_directories  (MainUnDgram PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainUnDgram PROPERTIES OUTPUT_NAME "main_unix_dgram")
target_link_libraries       (MainUnDgram c epollevent)
add_dependencies            (MainUnDgram LibEpollEvent)

## Bin main_unix_stream_client
set(SRC_BIN_UN_STREAM_CLIENT main_unix_stream_client.cc)
add_executable              (MainUnStreamClient ${SRC_BIN_UN_STREAM_CLIENT})
target_include_directories  (MainUnStreamClient PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainUnStreamClient PROPERTIES OUTPUT_NAME "main_unix_stream_client")
target_link_libraries       (MainUnStreamClient c epollevent)
add_dependencies            (MainUnStreamClient LibEpollEvent)

## Bin main_unix_stream_server
set(SRC_BIN_UN_STREAM_SERVER main_unix_stream_server.cc)
add_executable              (MainUnStreamServer ${SRC_BIN_UN_STREAM_SERVER})
target_include_directories  (MainUnStreamServer PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainUnStreamServer PROPERTIES OUTPUT_NAME "main_unix_stream_server")
target_link_libraries       (MainUnStreamServer c epollevent)
add_dependencies            (MainUnStreamServer LibEpollEvent)

## Bin main_mq_client
set(SRC_BIN_MQ_CLIENT        main_mq_client.cc)
add_executable              (MainMqClient ${SRC_BIN_MQ_CLIENT})
target_include_directories  (MainMqClient PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainMqClient PROPERTIES OUTPUT_NAME "main_mq_client")
target_link_libraries       (MainMqClient c epollevent)
add_dependencies            (MainMqClient LibEpollEvent)

## Bin main_mq_server
set(SRC_BIN_MQ_SERVER        main_mq_server.cc)
add_executable              (MainMqServer ${SRC_BIN_MQ_SERVER})
target_include_directories  (MainMqServer PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainMqServer PROPERTIES OUTPUT_NAME "main_mq_server")
target_link_libraries       (MainMqServer c epollevent)
add_dependencies            (MainMqServer LibEpollEvent)

## Bin main_pipe_client
set(SRC_BIN_PIPE_CLIENT      main_pipe_client.cc)
add_executable              (MainPipeClient ${SRC_BIN_PIPE_CLIENT})
target_include_directories  (MainPipeClient PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainPipeClient PROPERTIES OUTPUT_NAME "main_pipe_client")
target_link_libraries       (MainPipeClient c epollevent)
add_dependencies            (MainPipeClient LibEpollEvent)

## Bin main_pipe_server
set(SRC_BIN_PIPE_SERVER      main_pipe_server.cc)
add_executable              (MainPipeServer ${SRC_BIN_PIPE_SERVER})
target_include_directories  (MainPipeServer PRIVATE ${PROJECT_PATH}/Src)
set_target_properties       (MainPipeServer PROPERTIES OUTPUT_NAME "main_pipe_server")
target_link_libraries       (MainPipeServer c epollevent)
add_dependencies            (MainPipeServer LibEpollEvent)
